package vip.xiaonuo.facedoor.modular.visitordevice.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
public class VisitorDevicePageVO {

    /**
     * 主键
     */
    private Long visitorDeviceId;

    private String name;

    private String orgName;

    private String deviceName;

    /**
     * 性别
     */
    private Integer sex;

    /**
     * 手机号
     */
    private String tel;

    /**
     * 结束访问时间
     */
    @Excel(name = "结束访问时间", databaseFormat = "yyyy-MM-dd HH:mm:ss", format = "yyyy-MM-dd", width = 20)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date visitEndDate;

    /**
     * 开始访问时间
     */
    @Excel(name = "开始访问时间", databaseFormat = "yyyy-MM-dd HH:mm:ss", format = "yyyy-MM-dd", width = 20)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date visitStartDate;

    /**
     * 身份证照片
     */
    private String identityPhoto;

    /**
     * 核酸检测报告照片
     */
    private String detectionPhoto;

    /**
     * 人脸比对照片
     */
    private String photo;

    /**
     * 邀请人，病人姓名
     */
    private String inviterName;

    /**
     * 身份证号
     */
    private String idCard;

    private Integer visitorStatus;

    private Integer source;
}
